package com.lau.service;

import com.lau.entity.SysRole;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Lau
 * @since 2023-12-28
 */
public interface SysRoleService extends IService<SysRole> {

    List<SysRole> listRolesByUserId(Long userId);

    SysRole getSysRoleByRoleId(Long id);

    Page<SysRole> pageRoles(Page page,String roleName);


}
